package com.security.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.security.entity.AppInfo;
import com.security.vo.RestfulDTO;

/**
 * Package: com.crb.hrms.service
 * Description：
 * Author: huangjian
 * Date:  2020/8/21 21:55
 * Modified By:
 *
 * @author huangjian
 */
public interface AppInfoIService extends IService<AppInfo> {
    AppInfo getOneByAppId(String appId);

    RestfulDTO getAccessToken(String appId, String appSecret);

    RestfulDTO refreshAccessToken(String refresh_token);
}
